public class Coller implements Commande {
	//----------------Arguments--------------------------------------------------------------------------
	
	private Buffer buffer;
	private IHM ihm;
	
	//----------------Constructeur----------------------------------------------------------------------
	
	public Coller(Buffer b, IHM ih)
	{		
		this.buffer = b;
		this.ihm = ih;
	}

	//----------------Methodes--------------------------------------------------------------------------
	

		public void execute()
		{
			int debutSelection = ihm.getDebutSelection();
			int finSelection = ihm.getFinSelection();
			buffer.coller(debutSelection, finSelection);
		}
}
